home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 61 / Quick PC 61.iso / I386 / DRIVER.CAB / sml7300.gpd < prev    next >
Encoding:
Text File  |  2003-02-21  |  51.1 KB  |  1,759 lines

  1. *%%
  2. *%% Samsung ML-7300 PCL6
  3. *%%
  4. *%% Copyright 1998 - 1999, Microsoft Corp.
  5. *%% All Rights Reserved.
  6. *%%
  7.  
  8. *%%
  9. *%% Global Entries
  10. *%%
  11. *GPDSpecVersion: "1.0"
  12. *GPDFileVersion: "1.0"
  13.  
  14. *%%% ======================
  15. *%%% Include standard GPD files
  16. *%%% =====================
  17. *Include: "StdNames.gpd"
  18. *Include: "ttfsub.gpd"
  19.  
  20. *%%
  21. *%% Model Specific Global Entries
  22. *%%
  23. *GPDFileName: "sml7300.gpd"
  24. *ModelName:   "Samsung ML-7300 PCL6"
  25. *MaxCopies: 32767
  26. *PrintRate: 17
  27. *PrintRatePPM: 17
  28. *PrintRateUnit: PPM
  29. *%%% ======================
  30. *%%% Macros
  31. *%%% ======================
  32. *Include: "pjl.gpd"
  33. *Include: "p6font.gpd"
  34. *Include: "p6disp.gpd"
  35.  
  36. *%%% ======================
  37. *%%% Main
  38. *%%% ======================
  39. *Include: "pclxl.gpd"
  40.  
  41. *%%% ======================
  42. *%%% JOB_SETUP, PAGE_FINISH
  43. *%%% , JOB_FINISH
  44. *%%% ======================
  45. *Macros: PCLXLCommand
  46. {
  47. *%%% ---------------------------------------------------------------------------
  48. *%%% PCL XL Stream Header
  49. *%%% ---------------------------------------------------------------------------
  50. PCLXL_StreamHeader: ") HP-PCL XL;1;1;"
  51. +                   "Comment Copyright(c) 1999 Microsoft Corporation<0A>"
  52.  
  53. *%%% ---------------------------------------------------------------------------
  54. *%%% BeginSession
  55. *%%%     Measure(ubyte) & UnitsPerMeasure(uint16_xy) & {ErrorReport(ubyte)}
  56. *%%% ---------------------------------------------------------------------------
  57. PCLXL_BeginSession1200: =uint16_xy "<b004b004>" =attr_ubyte =UnitsPerMeasure =ubyte
  58. + =eInch =attr_ubyte =Measure =ubyte =eBackChAndErrPage =attr_ubyte =ErrorReport =BeginSession
  59.  
  60. PCLXL_BeginSession600: =uint16_xy "<58025802>" =attr_ubyte =UnitsPerMeasure =ubyte
  61. + =eInch =attr_ubyte =Measure =ubyte =eBackChAndErrPage =attr_ubyte =ErrorReport =BeginSession
  62.  
  63. PCLXL_BeginSession300: =uint16_xy "<2c012c01>" =attr_ubyte =UnitsPerMeasure =ubyte
  64. + =eInch =attr_ubyte =Measure =ubyte =eBackChAndErrPage =attr_ubyte =ErrorReport =BeginSession
  65.  
  66. Width: %m{ RasterDataWidthInBytes }
  67. Height: %m{ RasterDataHeightInPixels }
  68. DataSize: %l{ NumOfDataBytes }
  69. FntHeight: %l{ FontHeight*600/TextYRes }
  70. FntNextGlyph: %l{ NextGlyph }
  71.  
  72. *%%% ---------------------------------------------------------------------------
  73. *%%% BeginRaster
  74. *%%%     ColorDepth(ubyte) & ColorMapping(ubyte) & SourceWidth(uint16) &
  75. *%%%     SourceWidth(uint16) & SourceHeight(uint16)
  76. *%%% ---------------------------------------------------------------------------
  77. PCLXL_CmdBeginRaster: =ubyte =e1Bit =attr_ubyte =ColorDepth
  78. +                     =ubyte =eDirectPixel =attr_ubyte =ColorMapping
  79. +                     =uint16 =Width =attr_ubyte =SourceWidth
  80. +                     =uint16 =Height =attr_ubyte =SourceHeight
  81. +                     =uint16_xy =Width =Height =attr_ubyte =DestinationSize
  82. +                     =BeginImage
  83. +                     =ubyte =eNoCompression =attr_ubyte =CompressMode
  84. +                     =ubyte "<00>" =attr_ubyte =StartLine
  85. +                     =uint16 =Height =attr_ubyte =BlockHeight
  86. +                     =ReadImage
  87.  
  88. PCLXL_CmdSendBlockData: =dataLength =DataSize "<0000>"
  89.  
  90. DestinationX: %l{DestX}
  91. DestinationY: %l{DestY}
  92. DestinationXRel: %l{DestYRel}
  93. DestinationYRel: %l{DestXRel}
  94. NumOfCopy: %l{NumOfCopies}
  95. PrintDir: %l{PrintDirInCCDegrees}
  96. FntName: =ubyte_array =uint16 "<1000>" "MS PCLXLFont " %3d{CurrentFontID}
  97. }
  98.  
  99. *%%% ======================
  100. *%%% Features and Options
  101. *%%% ======================
  102.  
  103. *%% Orientation
  104. *Feature: Orientation
  105. {
  106.     *rcNameID: =ORIENTATION_DISPLAY
  107.     *DefaultOption: PORTRAIT
  108.     *Option: PORTRAIT
  109.     {
  110.         *rcNameID: =PORTRAIT_DISPLAY
  111.     }
  112.     *Option: LANDSCAPE_CC90
  113.     {
  114.         *rcNameID: =LANDSCAPE_DISPLAY
  115.     }
  116. }
  117.  
  118. *%%% ======================
  119. *%%% JOB_SETUP
  120. *%%% ======================
  121.  
  122. *%%% ======================
  123. *%%% JOB_SETUP.1
  124. *%%% START PLJ JOB
  125. *%%% PAGEPROTECT
  126. *%%% TIMEOUT
  127. *Feature: PageProtect
  128. {
  129.     *rcNameID: =PAGE_PROTECTION_DISPLAY
  130.     *DefaultOption: OFF
  131.     *Option: ON
  132.     {
  133.         *rcNameID: =ON_DISPLAY
  134.         *Command: CmdSelect
  135.         {
  136.             *Order: JOB_SETUP.1
  137.             *Cmd: =PJL_STARTJOB =PJL_COMMENT =PJL_PAGEPROTECT_ON =PJL_TIMEOUT_90
  138.         }
  139.     }
  140.     *Option: OFF
  141.     {
  142.         *rcNameID: =OFF_DISPLAY
  143.         *Command: CmdSelect
  144.         {
  145.             *Order: JOB_SETUP.1
  146.             *Cmd: =PJL_STARTJOB =PJL_COMMENT =PJL_PAGEPROTECT_ON =PJL_TIMEOUT_90
  147.         }
  148.     }
  149. }
  150. *%%% ======================
  151. *%%% JOB_SETUP.2
  152. *%%% ECONOMODE
  153. *Feature: Economode
  154. {
  155.     *rcNameID: =ECONOMODE_DISPLAY
  156.     *DefaultOption: Option1
  157.     *Option: Option1
  158.     {
  159.         *rcNameID: =ECONOMODE_DEFAULT_DISPLAY
  160.     }
  161.     *Option: Option2
  162.     {
  163.         *rcNameID: =ECONOMODE_OFF_DISPLAY
  164.         *Command: CmdSelect
  165.         {
  166.             *Order: JOB_SETUP.2
  167.             *Cmd: =PJL_ECONOMODE_OFF
  168.         }
  169.     }
  170.     *Option: Option3
  171.     {
  172.         *rcNameID: =ECONOMODE_ON_DISPLAY
  173.         *Command: CmdSelect
  174.         {
  175.             *Order: JOB_SETUP.2
  176.             *Cmd: =PJL_ECONOMODE_ON
  177.         }
  178.     }
  179. }
  180.  
  181. *%%% ======================
  182. *%%% JOB_SETUP.3
  183. *%%% RET
  184. *Feature: RET
  185. {
  186.     *rcNameID: =PRINT_QUALITY
  187.     *DefaultOption: Option1
  188.     *Option: Option1
  189.     {
  190.         *rcNameID: =PRINT_QUALITY_DEFAULT
  191.     }
  192.     *Option: Option2
  193.     {
  194.         *rcNameID: =PRINT_QUALITY_LIGHT
  195.         *Command: CmdSelect
  196.         {
  197.             *Order: JOB_SETUP.3
  198.             *Cmd: =PJL_RET_LIGHT
  199.         }
  200.     }
  201.     *Option: Option3
  202.     {
  203.         *rcNameID: =PRINT_QUALITY_MEDIUM
  204.         *Command: CmdSelect
  205.         {
  206.             *Order: JOB_SETUP.3
  207.             *Cmd: =PJL_RET_MEDIUM
  208.         }
  209.     }
  210.     *Option: Option4
  211.     {
  212.         *rcNameID: =PRINT_QUALITY_DARK
  213.         *Command: CmdSelect
  214.         {
  215.             *Order: JOB_SETUP.3
  216.             *Cmd: =PJL_RET_DARK
  217.         }
  218.     }
  219.     *Option: Option5
  220.     {
  221.         *rcNameID: =PRINT_QUALITY_OFF
  222.         *Command: CmdSelect
  223.         {
  224.             *Order: JOB_SETUP.3
  225.             *Cmd: =PJL_RET_OFF
  226.         }
  227.     }
  228. }
  229.  
  230. *%%% ======================
  231. *%%% JOB_SETUP.4
  232. *%%% Collate
  233. *Feature: Collate
  234. {
  235.     *rcNameID: =COLLATOR_DISPLAY *% this shouldn't appear...
  236.  
  237.     *DefaultOption: OFF
  238.     *Option: ON
  239.     {
  240.         *rcNameID: =ON_DISPLAY
  241.        *switch: PrinterHardDisk
  242.         {
  243.            *case: FALSE
  244.      {
  245.  
  246.        *Switch:  Memory  *% need 16MB to collate w/o harddisk
  247.         {
  248.               *Case: 4MB
  249.                  {
  250.              *Command: CmdSelect
  251.                             {
  252.                               *Order: JOB_SETUP.4
  253.                               *Cmd: =PJL_COLLATE_OFF
  254.                              }
  255.            }
  256.                            *Case: 8MB
  257.            {
  258.                  *Command: CmdSelect
  259.                            {
  260.                               *Order: JOB_SETUP.4
  261.                               *Cmd: =PJL_COLLATE_OFF
  262.                           }
  263.                        }
  264.                           *Case: 12MB
  265.            {
  266.                  *Command: CmdSelect
  267.                            {
  268.                               *Order: JOB_SETUP.4
  269.                               *Cmd: =PJL_COLLATE_OFF
  270.                           }
  271.                        }
  272.         *default
  273.            {
  274.                  *Command: CmdSelect
  275.                            {
  276.                               *Order: JOB_SETUP.4
  277.                               *Cmd: =PJL_COLLATE_ON
  278.                           }
  279.                        }
  280.          }
  281.              }
  282.             *case: TRUE
  283.             {
  284.                 *Command: CmdSelect
  285.                 {
  286.                     *Order: JOB_SETUP.4
  287.                     *Cmd: =PJL_COLLATE_ON
  288.                 }
  289.             }
  290.         }
  291.     }
  292.     *Option: OFF
  293.     {
  294.         *rcNameID:=OFF_DISPLAY
  295.         *Command: CmdSelect
  296.         {
  297.             *Order: JOB_SETUP.4
  298.             *Cmd: =PJL_COLLATE_OFF
  299.         }
  300.     }
  301. }
  302.  
  303. *Feature: JobRetention
  304. {
  305.     *rcNameID: =JOB_RETENTION_DISPLAY *% Job Retention
  306.     *DefaultOption: Option1
  307.     *Option: Option1
  308.     {
  309.         *rcNameID: =OFF_DISPLAY
  310.         *Command: CmdSelect
  311.         {
  312.             *Order: JOB_SETUP.3
  313.             *Cmd: "@PJL SET HOLD=OFF<0A>"
  314.         }
  315.     }
  316.     *Option: Option2
  317.     {
  318.         *rcNameID: =QUICK_COPY_DISPLAY
  319.         *Command: CmdSelect
  320.         {
  321.             *Order: JOB_SETUP.3
  322.             *Cmd: "@PJL SET HOLD=ON<0A>"
  323.         }
  324.     }
  325.     *Option: Option3
  326.     {
  327.         *rcNameID: =PROOF_HOLD_DISPLAY
  328.         *Command: CmdSelect
  329.         {
  330.            *Order: JOB_SETUP.3
  331.             *Cmd: "@PJL SET HOLD=PROOF<0A>"
  332.         }
  333.     }
  334.     *Option: Option4
  335.     {
  336.         *rcNameID: =STORE_JOB_DISPLAY
  337.         *Command: CmdSelect
  338.         {
  339.             *Order: JOB_SETUP.3
  340.             *Cmd: "@PJL SET HOLD=STORE<0A>"
  341.          }
  342.       }
  343. }
  344.  
  345. *Feature: JobRetentionUserID
  346. {
  347.     *rcNameID: =JOB_RETENTION_USERID_DISPLAY *%"Job Retention User ID"
  348.     *DefaultOption: Option1
  349.     *Option: Option1
  350.     {
  351.         *Name: "1"
  352.         *Command: CmdSelect
  353.         {
  354.             *Order: JOB_SETUP.3
  355.             *Cmd: "@PJL SET USERNAME=<22>1<22><0A>"
  356.         }
  357.     }
  358.     *Option: Option2
  359.     {
  360.         *Name: "2"
  361.         *Command: CmdSelect
  362.         {
  363.             *Order: JOB_SETUP.3
  364.             *Cmd: "@PJL SET USERNAME=<22>2<22><0A>"
  365.         }
  366.     }
  367.     *Option: Option3
  368.     {
  369.         *Name: "3"
  370.         *Command: CmdSelect
  371.         {
  372.             *Order: JOB_SETUP.3
  373.             *Cmd: "@PJL SET USERNAME=<22>3<22><0A>"
  374.         }
  375.     }
  376.     *Option: Option4
  377.     {
  378.         *Name: "4"
  379.         *Command: CmdSelect
  380.         {
  381.             *Order: JOB_SETUP.3
  382.             *Cmd: "@PJL SET USERNAME=<22>4<22><0A>"
  383.         }
  384.     }
  385.     *Option: Option5
  386.     {
  387.         *Name: "5"
  388.         *Command: CmdSelect
  389.         {
  390.             *Order: JOB_SETUP.3
  391.             *Cmd: "@PJL SET USERNAME=<22>5<22><0A>"
  392.         }
  393.     }
  394.     *Option: Option6
  395.     {
  396.         *Name: "6"
  397.         *Command: CmdSelect
  398.         {
  399.             *Order: JOB_SETUP.3
  400.             *Cmd: "@PJL SET USERNAME=<22>6<22><0A>"
  401.         }
  402.     }
  403.     *Option: Option7
  404.     {
  405.         *Name: "7"
  406.         *Command: CmdSelect
  407.         {
  408.             *Order: JOB_SETUP.3
  409.             *Cmd: "@PJL SET USERNAME=<22>7<22><0A>"
  410.         }
  411.     }
  412.     *Option: Option8
  413.     {
  414.         *Name: "8"
  415.         *Command: CmdSelect
  416.         {
  417.             *Order: JOB_SETUP.3
  418.             *Cmd: "@PJL SET USERNAME=<22>8<22><0A>"
  419.         }
  420.     }
  421.     *Option: Option9
  422.     {
  423.         *Name: "9"
  424.         *Command: CmdSelect
  425.         {
  426.             *Order: JOB_SETUP.3
  427.             *Cmd: "@PJL SET USERNAME=<22>9<22><0A>"
  428.         }
  429.     }
  430.     *Option: Option10
  431.     {
  432.         *Name: "10"
  433.         *Command: CmdSelect
  434.         {
  435.             *Order: JOB_SETUP.3
  436.             *Cmd: "@PJL SET USERNAME=<22>10<22><0A>"
  437.         }
  438.     }
  439.     *Option: Option11
  440.     {
  441.         *Name: "11"
  442.         *Command: CmdSelect
  443.         {
  444.             *Order: JOB_SETUP.3
  445.             *Cmd: "@PJL SET USERNAME=<22>11<22><0A>"
  446.         }
  447.     }
  448.     *Option: Option12
  449.     {
  450.         *Name: "12"
  451.         *Command: CmdSelect
  452.         {
  453.             *Order: JOB_SETUP.3
  454.             *Cmd: "@PJL SET USERNAME=<22>12<22><0A>"
  455.         }
  456.     }
  457.     *Option: Option13
  458.     {
  459.         *Name: "13"
  460.         *Command: CmdSelect
  461.         {
  462.             *Order: JOB_SETUP.3
  463.             *Cmd: "@PJL SET USERNAME=<22>13<22><0A>"
  464.         }
  465.     }
  466.     *Option: Option14
  467.     {
  468.         *Name: "14"
  469.         *Command: CmdSelect
  470.         {
  471.             *Order: JOB_SETUP.3
  472.             *Cmd: "@PJL SET USERNAME=<22>14<22><0A>"
  473.         }
  474.     }
  475.     *Option: Option15
  476.     {
  477.         *Name: "15"
  478.         *Command: CmdSelect
  479.         {
  480.             *Order: JOB_SETUP.3
  481.             *Cmd: "@PJL SET USERNAME=<22>15<22><0A>"
  482.         }
  483.     }
  484.     *Option: Option16
  485.     {
  486.         *Name: "16"
  487.         *Command: CmdSelect
  488.         {
  489.             *Order: JOB_SETUP.3
  490.             *Cmd: "@PJL SET USERNAME=<22>16<22><0A>"
  491.         }
  492.     }
  493.     *Option: Option17
  494.     {
  495.         *Name: "17"
  496.         *Command: CmdSelect
  497.         {
  498.             *Order: JOB_SETUP.3
  499.             *Cmd: "@PJL SET USERNAME=<22>17<22><0A>"
  500.         }
  501.     }
  502.     *Option: Option18
  503.     {
  504.         *Name: "18"
  505.         *Command: CmdSelect
  506.         {
  507.             *Order: JOB_SETUP.3
  508.             *Cmd: "@PJL SET USERNAME=<22>18<22><0A>"
  509.         }
  510.     }
  511.     *Option: Option19
  512.     {
  513.         *Name: "19"
  514.         *Command: CmdSelect
  515.         {
  516.             *Order: JOB_SETUP.3
  517.             *Cmd: "@PJL SET USERNAME=<22>19<22><0A>"
  518.         }
  519.     }
  520.     *Option: Option20
  521.     {
  522.         *Name: "20"
  523.         *Command: CmdSelect
  524.         {
  525.             *Order: JOB_SETUP.3
  526.             *Cmd: "@PJL SET USERNAME=<22>20<22><0A>"
  527.         }
  528.     }
  529. }
  530.  
  531. *% constrain all but option 1 when no hard disk installed
  532. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetention.Option2)
  533. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetention.Option3)
  534. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetention.Option4)
  535.  
  536. *% constrain all but option 1 when no hard disk installed
  537. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option2)
  538. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option3)
  539. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option4)
  540. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option5)
  541. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option6)
  542. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option7)
  543. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option8)
  544. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option9)
  545. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option10)
  546. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option11)
  547. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option12)
  548. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option13)
  549. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option14)
  550. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option15)
  551. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option16)
  552. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option17)
  553. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option18)
  554. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option19)
  555. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option20)
  556.  
  557. *%%% ======================
  558. *%%% JOB_SETUP.5
  559. *%%%     RESOLUTION
  560. *%%%     ENTER LANGUAGE=PCLXL
  561. *%%%     PCL XL Stream Header
  562. *%%%     BeginSession
  563. *%%% CmdEndRaster
  564. *%%%     EndImage
  565. *%%% CmdSendBlockData
  566. *%%%     EndImage
  567. *Feature: Resolution
  568. {
  569.     *rcNameID: =RESOLUTION_DISPLAY
  570.     *DefaultOption: Option1
  571.  
  572.     *Option: Option1
  573.     {
  574.         *Name: "600 x 600 " =DOTS_PER_INCH
  575.         *DPI: PAIR(600, 600)
  576.         *TextDPI: PAIR(600, 600)
  577.         *MinStripBlankPixels: 32
  578.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  579.         *SpotDiameter: 100
  580.         *Command: CmdBeginRaster
  581.         {
  582.             *Cmd : =PCLXL_CmdBeginRaster
  583.         }
  584.  
  585.         *Command: CmdEndRaster { *Cmd : =EndImage }
  586.         *Command: CmdSendBlockData
  587.         {
  588.             *Cmd: =PCLXL_CmdSendBlockData
  589.         }
  590.  
  591.         *Command: CmdSelect
  592.         {
  593.             *Order: JOB_SETUP.5
  594.             *Cmd: =PJL_RESOLUTION_600 =PJL_ENTER_PCLXL =PCLXL_StreamHeader =PCLXL_BeginSession600
  595.         }
  596.     }
  597.     *Option: Option2
  598.     {
  599.         *Name: "300 x 300 " =DOTS_PER_INCH
  600.         *DPI: PAIR(300, 300)
  601.         *TextDPI: PAIR(300, 300)
  602.         *MinStripBlankPixels: 32
  603.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  604.         *SpotDiameter: 100
  605.         *Command: CmdBeginRaster
  606.         {
  607.             *Cmd : =PCLXL_CmdBeginRaster
  608.         }
  609.  
  610.         *Command: CmdEndRaster { *Cmd : =EndImage }
  611.         *Command: CmdSendBlockData
  612.         {
  613.             *Cmd: =PCLXL_CmdSendBlockData
  614.         }
  615.  
  616.         *Command: CmdSelect
  617.         {
  618.             *Order: JOB_SETUP.5
  619.             *Cmd: =PJL_RESOLUTION_300 =PJL_ENTER_PCLXL =PCLXL_StreamHeader =PCLXL_BeginSession300
  620.         }
  621.     }
  622. }
  623.  
  624. *%%% ======================
  625. *%%% JOB_SETUP.6
  626. *%%% OpenDataSource(0x48)
  627. *%%%     SourceType(ubyte) & DataOrg(ubyte)
  628. *%%%     136(0x88)           130(0x82)
  629. *Command: CmdStartDoc
  630. {
  631.     *Order: JOB_SETUP.6
  632.     *Cmd: =ubyte "<00>" =attr_ubyte =SourceType =ubyte "<01>" =attr_ubyte =DataOrg =OpenDataSource
  633. }
  634.  
  635. *%%% ======================
  636. *%%% PAGE_FINISH
  637. *%%% ======================
  638.  
  639. *%%% ======================
  640. *%%% PAGE_FINISH.3
  641. *Command: CmdEndPage
  642. {
  643.     *Order: PAGE_FINISH.1
  644.     *Cmd: =uint16 =NumOfCopy =attr_ubyte =PageCopies =EndPage
  645. }
  646.  
  647. *%%% ======================
  648. *%%% JOB_FINISH.1
  649. *%%% CmdEndJob
  650. *Command: CmdEndJob
  651. {
  652.     *Order: JOB_FINISH.1
  653.     *Cmd: =CloseDataSource =EndSession =PJL_ENDJOB
  654. }
  655.  
  656. *%%% ======================
  657. *%%% PAGE_SETUP
  658. *%%% ======================
  659.  
  660. *%%% ======================
  661. *%%% PAGE_SETUP.1
  662. *%%% BeginPage(0x43)
  663. *%%%     Orientation(40), MediaSize(37), MediaSource(38)
  664. *%%%     ubyte            ubyte          ubyte
  665.  
  666. *BlockMacro: PaperConstraints
  667. {
  668.     *Constraints: LIST(InputBin.Option3, InputBin.Option4, InputBin.Option5)
  669. }
  670.  
  671. *Feature: PaperSize
  672. {
  673.     *rcNameID: =PAPER_SIZE_DISPLAY
  674.     *DefaultOption: LETTER
  675.     *Option: A5
  676.     {
  677.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *% rcid 1000
  678.         *Constraints: InputBin.Option6
  679.         *PageProtectMem: 2125
  680.         *switch: Orientation
  681.         {
  682.             *case: PORTRAIT
  683.             {
  684.                 *PrintableArea: PAIR(6396, 9372)
  685.                 *PrintableOrigin: PAIR(300, 300)
  686.                 *CursorOrigin: PAIR(300, 160)
  687.                 *Command: CmdSelect
  688.                 {
  689.                     *Order: PAGE_SETUP.1
  690.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  691. +                         =ubyte =eA5Paper =attr_ubyte =MediaSize =BeginPage
  692. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((160*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  693.                 }
  694.             }
  695.             *case: LANDSCAPE_CC90
  696.             {
  697.                 *PrintableArea: PAIR(6396, 9324)
  698.                 *PrintableOrigin: PAIR(300, 300)
  699.                 *CursorOrigin: PAIR(260, 9624)
  700.                 *Command: CmdSelect
  701.                 {
  702.                     *Order: PAGE_SETUP.1
  703.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  704. +                         =ubyte =eA5Paper =attr_ubyte =MediaSize =BeginPage
  705. +                         =sint16_xy %l{((260*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  706.                 }
  707.             }
  708.         }
  709.     }
  710.     *Option: LETTER
  711.     {
  712.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *% rcid 1000
  713.         *Constraints: InputBin.Option6
  714.         *PageProtectMem: 4109
  715.         *switch: Orientation
  716.         {
  717.             *case: PORTRAIT
  718.             {
  719.                 *PrintableArea: PAIR(9600, 12600)
  720.                 *PrintableOrigin: PAIR(300, 300)
  721.                 *CursorOrigin: PAIR(300, 160)
  722.                 *Command: CmdSelect
  723.                 {
  724.                     *Order: PAGE_SETUP.1
  725.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  726. +                         =ubyte =eLetterPaper =attr_ubyte =MediaSize =BeginPage
  727. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((160*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  728.                 }
  729.             }
  730.             *case: LANDSCAPE_CC90
  731.             {
  732.                 *PrintableArea: PAIR(9760, 12600)
  733.                 *PrintableOrigin: PAIR(200, 300)
  734.                 *CursorOrigin: PAIR(200, 12900)
  735.                 *Command: CmdSelect
  736.                 {
  737.                     *Order: PAGE_SETUP.1
  738.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  739. +                         =ubyte =eLetterPaper =attr_ubyte =MediaSize =BeginPage
  740. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  741.                 }
  742.             }
  743.         }
  744.     }
  745.     *Option: LEGAL
  746.     {
  747.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  748.         *Constraints: InputBin.Option6
  749.         *PageProtectMem: 5230
  750.         *switch: Orientation
  751.         {
  752.             *case: PORTRAIT
  753.             {
  754.                 *PrintableArea: PAIR(9600, 16200)
  755.                 *PrintableOrigin: PAIR(300, 300)
  756.                 *CursorOrigin: PAIR(300, 160)
  757.                 *Command: CmdSelect
  758.                 {
  759.                     *Order: PAGE_SETUP.1
  760.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  761. +                         =ubyte =eLegalPaper =attr_ubyte =MediaSize =BeginPage
  762. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((160*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  763.                 }
  764.             }
  765.             *case: LANDSCAPE_CC90
  766.             {
  767.                 *PrintableArea: PAIR(9760, 16200)
  768.                 *PrintableOrigin: PAIR(200, 300)
  769.                 *CursorOrigin: PAIR(200, 16500)
  770.                 *Command: CmdSelect
  771.                 {
  772.                     *Order: PAGE_SETUP.1
  773.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  774. +                         =ubyte =eLegalPaper =attr_ubyte =MediaSize =BeginPage
  775. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  776.                 }
  777.             }
  778.         }
  779.     }
  780.     *Option: EXECUTIVE
  781.     {
  782.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  783.         *Constraints: InputBin.Option6
  784.         *PageProtectMem: 4109
  785.         *switch: Orientation
  786.         {
  787.             *case: PORTRAIT
  788.             {
  789.                 *PrintableArea: PAIR(8100, 12000)
  790.                 *PrintableOrigin: PAIR(300, 300)
  791.                 *CursorOrigin: PAIR(300, 160)
  792.                 *Command: CmdSelect
  793.                 {
  794.                     *Order: PAGE_SETUP.1
  795.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  796. +                         =ubyte =eExecPaper =attr_ubyte =MediaSize =BeginPage
  797. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((160*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  798.                 }
  799.             }
  800.             *case: LANDSCAPE_CC90
  801.             {
  802.                 *PrintableArea: PAIR(8180, 12000)
  803.                 *PrintableOrigin: PAIR(220, 300)
  804.                 *CursorOrigin: PAIR(200, 12300)
  805.                 *Command: CmdSelect
  806.                 {
  807.                     *Order: PAGE_SETUP.1
  808.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  809. +                         =ubyte =eExecPaper =attr_ubyte =MediaSize =BeginPage
  810. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  811.                 }
  812.             }
  813.         }
  814.     }
  815.  
  816.     *Option: A4
  817.     {
  818.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *%  1008
  819.         *Constraints: InputBin.Option6
  820.         *PageProtectMem: 4249
  821.         *switch: Orientation
  822.         {
  823.             *case: PORTRAIT
  824.             {
  825.                 *PrintableArea: PAIR(9352, 13400)
  826.                 *PrintableOrigin: PAIR(260, 300)
  827.                 *CursorOrigin: PAIR(260, 160)
  828.                 *Command: CmdSelect
  829.                 {
  830.                     *Order: PAGE_SETUP.1
  831.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  832. +                         =ubyte =eA4Paper =attr_ubyte =MediaSize =BeginPage
  833. +                         =sint16_xy %l{((260*TextXRes)/1200)}%l{((160*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  834.                 }
  835.             }
  836.             *case: LANDSCAPE_CC90
  837.             {
  838.                 *PrintableArea: PAIR(9424, 13428)
  839.                 *PrintableOrigin: PAIR(200, 300)
  840.                 *CursorOrigin: PAIR(200, 13728)
  841.                 *Command: CmdSelect
  842.                 {
  843.                     *Order: PAGE_SETUP.1
  844.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  845. +                         =ubyte =eA4Paper =attr_ubyte =MediaSize =BeginPage
  846. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  847.                 }
  848.             }
  849.         }
  850.     }
  851.  
  852.     *Option: B5
  853.     {
  854.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  855.         *PageProtectMem: 3198
  856.         *Constraints: InputBin.Option6
  857.         *switch: Orientation
  858.         {
  859.             *case: PORTRAIT
  860.             {
  861.                 *PrintableArea: PAIR(7964, 11714)
  862.                 *PrintableOrigin: PAIR(340, 152)
  863.                 *CursorOrigin: PAIR(200, 152)
  864.                 *Command: CmdSelect
  865.                 {
  866.                     *Order: PAGE_SETUP.1
  867.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  868. +                         =ubyte =eJB5Paper =attr_ubyte =MediaSize =BeginPage
  869. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((152*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  870.                 }
  871.             }
  872.             *case: LANDSCAPE_CC90
  873.             {
  874.                 *PrintableArea: PAIR(8104, 11624)
  875.                 *PrintableOrigin: PAIR(260, 240)
  876.                 *CursorOrigin: PAIR(200, 11904)
  877.                 *Command: CmdSelect
  878.                 {
  879.                     *Order: PAGE_SETUP.1
  880.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  881. +                         =ubyte =eJB5Paper =attr_ubyte =MediaSize =BeginPage
  882. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((280*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  883.                 }
  884.             }
  885.         }
  886.     }
  887.     *Option: ENV_10
  888.     {
  889.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *%  1019
  890.         *InsertBlock: =PaperConstraints
  891.         *Constraints: Duplex.VERTICAL
  892.         *Constraints: Duplex.HORIZONTAL
  893.         *PageProtectMem: 4109
  894.         *switch: Orientation
  895.         {
  896.             *case: PORTRAIT
  897.             {
  898.                 *PrintableArea: PAIR(4346, 10800)
  899.                 *PrintableOrigin: PAIR(300, 300)
  900.                 *switch: Resolution
  901.                 {
  902.                     *case: Option1
  903.                     {
  904.                         *PrintableArea: PAIR(4344, 10800)
  905.                     }
  906.                 }
  907.                 *CursorOrigin: PAIR(300, 180)
  908.                 *Command: CmdSelect
  909.                 {
  910.                     *Order: PAGE_SETUP.1
  911.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  912. +                         =ubyte =eCOM10Envelope =attr_ubyte =MediaSize =BeginPage
  913. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((180*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  914.                 }
  915.             }
  916.             *case: LANDSCAPE_CC90
  917.             {
  918.                 *PrintableArea: PAIR(4476, 10800)
  919.                 *PrintableOrigin: PAIR(200, 300)
  920.                 *CursorOrigin: PAIR(200, 11100)
  921.                 *Command: CmdSelect
  922.                 {
  923.                     *Order: PAGE_SETUP.1
  924.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  925. +                         =ubyte =eCOM10Envelope =attr_ubyte =MediaSize =BeginPage
  926. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  927.                 }
  928.             }
  929.         }
  930.     }
  931.     *Option: ENV_DL
  932.     {
  933.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *%  1026
  934.         *InsertBlock: =PaperConstraints
  935.         *Constraints: Duplex.VERTICAL
  936.         *Constraints: Duplex.HORIZONTAL
  937.         *PageProtectMem: 4109
  938.         *switch: Orientation
  939.         {
  940.             *case: PORTRAIT
  941.             {
  942.                 *PrintableArea: PAIR(4576, 9792)
  943.                 *PrintableOrigin: PAIR(300, 300)
  944.                 *CursorOrigin: PAIR(300, 180)
  945.                 *Command: CmdSelect
  946.                 {
  947.                     *Order: PAGE_SETUP.1
  948.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  949. +                         =ubyte =eDLEnvelope =attr_ubyte =MediaSize =BeginPage
  950. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((180*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  951.                 }
  952.             }
  953.             *case: LANDSCAPE_CC90
  954.             {
  955.                 *PrintableArea: PAIR(4796, 9792)
  956.                 *PrintableOrigin: PAIR(200, 300)
  957.                 *CursorOrigin: PAIR(200, 10092)
  958.                 *Command: CmdSelect
  959.                 {
  960.                     *Order: PAGE_SETUP.1
  961.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  962. +                         =ubyte =eDLEnvelope =attr_ubyte =MediaSize =BeginPage
  963. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  964.                 }
  965.             }
  966.         }
  967.     }
  968.     *Option: ENV_C5
  969.     {
  970.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *%  1027
  971.         *InsertBlock: =PaperConstraints
  972.         *Constraints: Duplex.VERTICAL
  973.         *Constraints: Duplex.HORIZONTAL
  974.         *PageProtectMem: 4109
  975.         *switch: Orientation
  976.         {
  977.             *case: PORTRAIT
  978.             {
  979.                 *PrintableArea: PAIR(7036, 10214)
  980.                 *PrintableOrigin: PAIR(300, 300)
  981.                 *switch: Resolution
  982.                 {
  983.                     *case: Option2
  984.                     {
  985.                         *PrintableArea: PAIR(7036, 10212)
  986.                     }
  987.                 }
  988.                 *CursorOrigin: PAIR(300, 180)
  989.                 *Command: CmdSelect
  990.                 {
  991.                     *Order: PAGE_SETUP.1
  992.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  993. +                         =ubyte =eC5Envelope =attr_ubyte =MediaSize =BeginPage
  994. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((180*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  995.                 }
  996.             }
  997.             *case: LANDSCAPE_CC90
  998.             {
  999.                 *PrintableArea: PAIR(7116, 10224)
  1000.                 *PrintableOrigin: PAIR(240, 300)
  1001.                 *CursorOrigin: PAIR(200, 10524)
  1002.                 *Command: CmdSelect
  1003.                 {
  1004.                     *Order: PAGE_SETUP.1
  1005.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  1006. +                         =ubyte =eC5Envelope =attr_ubyte =MediaSize =BeginPage
  1007. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1008.                 }
  1009.             }
  1010.         }
  1011.     }
  1012.  
  1013.  
  1014.     *Option: ENV_MONARCH
  1015.     {
  1016.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *%  1036
  1017.         *InsertBlock: =PaperConstraints
  1018.         *Constraints: Duplex.VERTICAL
  1019.         *Constraints: Duplex.HORIZONTAL
  1020.         *PageProtectMem: 4109
  1021.         *switch: Orientation
  1022.         {
  1023.             *case: PORTRAIT
  1024.             {
  1025.                 *PrintableArea: PAIR(4046, 8400)
  1026.                 *PrintableOrigin: PAIR(300, 300)
  1027.                 *switch: Resolution
  1028.                 {
  1029.                     *case: Option2
  1030.                     {
  1031.                         *PrintableArea: PAIR(4044, 8400)
  1032.                     }
  1033.                 }
  1034.                 *CursorOrigin: PAIR(300, 180)
  1035.                 *Command: CmdSelect
  1036.                 {
  1037.                     *Order: PAGE_SETUP.1
  1038.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1039. +                         =ubyte =eMonarchEnvelope =attr_ubyte =MediaSize =BeginPage
  1040. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((180*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1041.                 }
  1042.             }
  1043.             *case: LANDSCAPE_CC90
  1044.             {
  1045.                 *PrintableArea: PAIR(4076, 8400)
  1046.                 *PrintableOrigin: PAIR(300, 300)
  1047.                 *CursorOrigin: PAIR(200, 8700)
  1048.                 *Command: CmdSelect
  1049.                 {
  1050.                     *Order: PAGE_SETUP.1
  1051.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  1052. +                         =ubyte =eMonarchEnvelope =attr_ubyte =MediaSize =BeginPage
  1053. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1054.                 }
  1055.             }
  1056.         }
  1057.     }
  1058.     *Option: ENV_B5
  1059.     {
  1060.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  1061.         *PageProtectMem: 4109
  1062.         *InsertBlock: =PaperConstraints
  1063.         *Constraints: Duplex.VERTICAL
  1064.         *Constraints: Duplex.HORIZONTAL
  1065.         *switch: Orientation
  1066.         {
  1067.             *case: PORTRAIT
  1068.             {
  1069.                 *PrintableArea: PAIR(7716, 11368)
  1070.                 *PrintableOrigin: PAIR(300, 140)
  1071.                 *CursorOrigin: PAIR(300, 140)
  1072.                 *Command: CmdSelect
  1073.                 {
  1074.                     *Order: PAGE_SETUP.1
  1075.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1076. +                         =ubyte =eB5Envelope =attr_ubyte =MediaSize =BeginPage
  1077. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((140*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1078.                 }
  1079.             }
  1080.             *case: LANDSCAPE_CC90
  1081.             {
  1082.                 *PrintableArea: PAIR(7776, 11208)
  1083.                 *PrintableOrigin: PAIR(240, 300)
  1084.                 *CursorOrigin: PAIR(200, 11508)
  1085.                 *Command: CmdSelect
  1086.                 {
  1087.                     *Order: PAGE_SETUP.1
  1088.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  1089. +                         =ubyte =eB5Envelope =attr_ubyte =MediaSize =BeginPage
  1090. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1091.                 }
  1092.             }
  1093.         }
  1094.     }
  1095.  
  1096.   
  1097.    *Option: FOLIO 
  1098.     { 
  1099.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME 
  1100.         *PrintableArea: PAIR(9600, 15200)
  1101.         *PrintableOrigin: PAIR(200, 200)
  1102.         *switch: Orientation
  1103.         {
  1104.             *case: PORTRAIT
  1105.             {
  1106.                 *CursorOrigin: PAIR(200, 200)
  1107.                 *Command: CmdSelect 
  1108.                 { 
  1109.                     *Order: JOB_SETUP.2 
  1110.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation 
  1111. +                         =ubyte "<18>" =attr_ubyte =MediaSize =BeginPage
  1112. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1113.                 } 
  1114.              } 
  1115.              *case: LANDSCAPE_CC90
  1116.              {
  1117.                 *CursorOrigin: PAIR(200, 15400)
  1118.                 *Command: CmdSelect
  1119.                 {
  1120.                     *Order: JOB_SETUP.2 
  1121.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation 
  1122. +                         =ubyte "<18>" =attr_ubyte =MediaSize =BeginPage
  1123. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1124.                 }
  1125.             }
  1126.         }
  1127.     }
  1128.  
  1129.  
  1130.     *Option: CUSTOMSIZE
  1131.     {
  1132.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *%  1255
  1133.         *MinSize: PAIR(3600, 6000)
  1134.         *MaxSize: PAIR(10200, 32767)
  1135.         *MaxPrintableWidth: 10200
  1136.         *MinLeftMargin: 100
  1137.         *CenterPrintable?: FALSE
  1138.         *PageProtectMem: 1692
  1139.         *switch: Orientation
  1140.         {
  1141.             *case: PORTRAIT
  1142.             {
  1143.                 *CustCursorOriginX:  %d{((PhysPaperWidth - 10200) / 2) + 300 }
  1144.                 *CustCursorOriginY:   %d{140 }
  1145.                 *CustPrintableOriginX:  %d{300 }
  1146.                 *CustPrintableOriginY:  %d{300}
  1147.                 *CustPrintableSizeX:   %d{ PhysPaperWidth - 600 }
  1148.                 *CustPrintableSizeY:  %d{ PhysPaperLength - 600 }
  1149.                 *Command: CmdSelect
  1150.                 {
  1151.                     *Order: PAGE_SETUP.1
  1152.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1153. +                         =uint16_xy %l{(PhysPaperWidth*254 / 12000)}%l{(PhysPaperLength*254 / 12000)} =attr_ubyte =CustomMediaSize
  1154. +                         =ubyte =eMillimeter =attr_ubyte =CustomMediaSizeUnits =BeginPage
  1155. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1156.                 }
  1157.             }
  1158.             *case: LANDSCAPE_CC90
  1159.             {
  1160.                 *CustCursorOriginX:  %d{((PhysPaperWidth - 10200) / 2) + 200 }
  1161.                 *CustCursorOriginY:   %d{16560 }
  1162.                 *CustPrintableOriginX:  %d{200 }
  1163.                 *CustPrintableOriginY:  %d{240}
  1164.                 *CustPrintableSizeX:   %d{ PhysPaperWidth - 480 }
  1165.                 *CustPrintableSizeY:  %d{ PhysPaperLength - 480 }
  1166.                 *Command: CmdSelect
  1167.                 {
  1168.                     *Order: PAGE_SETUP.1
  1169.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  1170. +                         =uint16_xy %l{(PhysPaperWidth*254 / 12000)}%l{(PhysPaperLength*254 / 12000)} =attr_ubyte =CustomMediaSize
  1171. +                         =ubyte =eMillimeter =attr_ubyte =CustomMediaSizeUnits =BeginPage
  1172. +                         =sint16_xy %l{((210*TextXRes)/1200)}%l{((230*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1173.                 }
  1174.             }
  1175.         }
  1176.     }
  1177. }
  1178.  
  1179. *%%% ======================
  1180. *%%% PAGE_SETUP.2
  1181. *%%% BeginPage(0x43)
  1182. *%%%     Orientation(0x40), MediaSize(0x37), MediaSource(0x38)
  1183. *%%%     ubyte               ubyte             ubyte
  1184. *%%%     MediaSource
  1185. *Feature: InputBin{ *Option: Option1{} *Option: Option7{} *Option: UPPER{} *Option: LOWER{} *Option: MANUAL{}}
  1186. *Feature: InputBin
  1187. {
  1188.     *rcNameID: =PAPER_SOURCE_DISPLAY
  1189.     *DefaultOption: Option1
  1190.     *Option: Option1
  1191.     {
  1192.         *rcNameID: =AUTO_SELECT_DISPLAY  *% Automatically Select
  1193.         *Command: CmdSelect
  1194.         {
  1195.             *Order: PAGE_SETUP.2
  1196.             *Cmd: =ubyte =eAutoSelect =attr_ubyte =MediaSource
  1197.         }
  1198.     }
  1199.     *Option: UPPER
  1200.     {
  1201.         *rcNameID: =TRAY2_DISPLAY *% Upper Paper tray
  1202.         *Command: CmdSelect
  1203.         {
  1204.             *Order: PAGE_SETUP.2
  1205.             *Cmd: =ubyte =eUpperCassette =attr_ubyte =MediaSource
  1206.         }
  1207.     }
  1208.     *Option: MANUAL
  1209.     {
  1210.         *rcNameID: =MANUAL_FEED_TRAY1_DISPLAY *% Manual Paper feed
  1211.         *Command: CmdSelect
  1212.         {
  1213.             *Order: PAGE_SETUP.2
  1214.             *Cmd: =ubyte =eManualFeed =attr_ubyte =MediaSource
  1215.         }
  1216.     }
  1217.  
  1218.     *Option: LOWER
  1219.     {
  1220.         *rcNameID: =TRAY3_DISPLAY *% Lower Paper tray
  1221.         *Command: CmdSelect
  1222.         {
  1223.             *Order: PAGE_SETUP.2
  1224.             *Cmd: =ubyte =eLowerCassette =attr_ubyte =MediaSource
  1225.         }
  1226.     }
  1227.     *Option: Option7
  1228.     {
  1229.         *rcNameID: =TRAY1_DISPLAY  *% MP Tray
  1230.         *Command: CmdSelect
  1231.         {
  1232.             *Order: PAGE_SETUP.2
  1233.             *Cmd: =ubyte =eManualFeed =attr_ubyte =MediaSource
  1234.         }
  1235.     }
  1236. }
  1237.  
  1238. *%Following Papersizes cannot be duplexed
  1239. *InvalidCombination: LIST(Duplex.VERTICAL, PaperSize.ENV_10)
  1240. *InvalidCombination: LIST(Duplex.VERTICAL, PaperSize.ENV_DL)
  1241. *InvalidCombination: LIST(Duplex.VERTICAL, PaperSize.ENV_C5)
  1242. *InvalidCombination: LIST(Duplex.VERTICAL, PaperSize.ENV_MONARCH)
  1243. *InvalidCombination: LIST(Duplex.VERTICAL, PaperSize.ENV_B5)
  1244. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_10)
  1245. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_DL)
  1246. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_C5)
  1247. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_MONARCH)
  1248. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_B5)
  1249.  
  1250. *%UPPER Paper Tray Constraints
  1251. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_10)
  1252. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_DL)
  1253. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_C5)
  1254. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_MONARCH)
  1255. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_B5)
  1256.  
  1257. *%LOWER Paper Tray Constraints
  1258. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_10)
  1259. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_DL)
  1260. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_C5)
  1261. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_MONARCH)
  1262. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_B5)
  1263.  
  1264.  
  1265.  
  1266.  
  1267. *%%% ======================
  1268. *%%% PAGE_SETUP.3
  1269. *%%% BeginPage(0x43)
  1270. *%%%     Orientation(0x40), MediaSize(0x37), MediaSource(0x38), MediaType
  1271. *%%%     ubyte               ubyte             ubyte
  1272. *%%%     MediaType
  1273. *Feature: MediaType
  1274. {
  1275.     *rcNameID: =MEDIA_TYPE_DISPLAY
  1276.     *DefaultOption: AutoSelect
  1277.  
  1278.     *Option: AutoSelect
  1279.     {
  1280.         *rcNameID: =AUTO_SELECT_DISPLAY
  1281.     }
  1282.     *Option: Plain
  1283.     {
  1284.         *rcNameID: =PLAIN_DISPLAY
  1285.         *Command: CmdSelect
  1286.         {
  1287.             *Order: PAGE_SETUP.3
  1288.             *Cmd: =ubyte_array =ePlain =attr_ubyte =MediaType
  1289.         }
  1290.     }
  1291.     *Option: Preprinted
  1292.     {
  1293.         *rcNameID: =PREPRINTED_DISPLAY
  1294.         *Command: CmdSelect
  1295.         {
  1296.             *Order: PAGE_SETUP.3
  1297.             *Cmd: =ubyte_array =ePreprinted =attr_ubyte =MediaType
  1298.         }
  1299.     }
  1300.     *Option: Letterhead
  1301.     {
  1302.         *rcNameID: =LETTERHEAD_DISPLAY
  1303.         *Command: CmdSelect
  1304.         {
  1305.             *Order: PAGE_SETUP.3
  1306.             *Cmd: =ubyte_array =eLetterhead =attr_ubyte =MediaType
  1307.         }
  1308.     }
  1309.     *Option: Transparency
  1310.     {
  1311.         *rcNameID: =TRANSPARENCY_DISPLAY
  1312.     *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  1313.         *Command: CmdSelect
  1314.         {
  1315.             *Order: PAGE_SETUP.3
  1316.             *Cmd: =ubyte_array =eTransparency =attr_ubyte =MediaType
  1317.         }
  1318.     }
  1319.     *Option: Prepunched
  1320.     {
  1321.         *rcNameID: =PREPUNCHED_DISPLAY
  1322.         *Command: CmdSelect
  1323.         {
  1324.             *Order: PAGE_SETUP.3
  1325.             *Cmd: =ubyte_array =ePrepunched =attr_ubyte =MediaType
  1326.         }
  1327.     }
  1328.     *Option: Labels
  1329.     {
  1330.         *rcNameID: =LABELS_DISPLAY
  1331.     *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  1332.         *Command: CmdSelect
  1333.         {
  1334.             *Order: PAGE_SETUP.3
  1335.             *Cmd: =ubyte_array =eLabels =attr_ubyte =MediaType
  1336.         }
  1337.     }
  1338.     *Option: Bond
  1339.     {
  1340.         *rcNameID: =BOND_DISPLAY
  1341.         *Command: CmdSelect
  1342.         {
  1343.             *Order: PAGE_SETUP.3
  1344.             *Cmd: =ubyte_array =eBond =attr_ubyte =MediaType
  1345.         }
  1346.     }
  1347.     *Option: Recycled
  1348.     {
  1349.         *rcNameID: =RECYCLED_DISPLAY
  1350.         *Command: CmdSelect
  1351.         {
  1352.             *Order: PAGE_SETUP.3
  1353.             *Cmd: =ubyte_array =eRecycled =attr_ubyte =MediaType
  1354.         }
  1355.     }
  1356.     *Option: Color
  1357.     {
  1358.         *rcNameID: =COLOR_DISPLAY
  1359.         *Command: CmdSelect
  1360.         {
  1361.             *Order: PAGE_SETUP.3
  1362.             *Cmd: =ubyte_array =eColor =attr_ubyte =MediaType
  1363.         }
  1364.     }
  1365.     *Option: CardStock
  1366.     {
  1367.         *rcNameID: =CARDSTOCK_DISPLAY
  1368.         *Command: CmdSelect
  1369.         {
  1370.             *Order: PAGE_SETUP.3
  1371.             *Cmd: =ubyte_array =eCardstock =attr_ubyte =MediaType
  1372.         }
  1373.     }
  1374.     *Option: Rough
  1375.     {
  1376.         *rcNameID: =ROUGH_DISPLAY
  1377.         *Command: CmdSelect
  1378.         {
  1379.             *Order: PAGE_SETUP.3
  1380.             *Cmd: =ubyte_array =eRough =attr_ubyte =MediaType
  1381.         }
  1382.     }
  1383. }
  1384.  
  1385. *%%% ======================
  1386. *%%% PAGE_SETUP.3
  1387. *%%% DuplexPageMode(53(0x35))
  1388. *Feature: Duplex
  1389. {
  1390.     *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
  1391.     *DefaultOption: NONE
  1392.     *Option: NONE
  1393.     {
  1394.         *rcNameID: =NONE_DISPLAY
  1395.         *Command: CmdSelect
  1396.         {
  1397.             *Order: JOB_SETUP.4
  1398.             *Cmd: "@PJL SET DUPLEX=OFF<0A>"
  1399.         }
  1400.     }
  1401.     *Option: VERTICAL
  1402.     {
  1403.         *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
  1404.         *Command: CmdSelect
  1405.         {
  1406.             *Order: JOB_SETUP.4
  1407.             *Cmd: "@PJL SET DUPLEX=ON<0A>@PJL SET BINDING=LONGEDGE<0A>"
  1408.         }
  1409.     }
  1410.     *Option: HORIZONTAL
  1411.     {
  1412.         *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
  1413.         *Command: CmdSelect
  1414.         {
  1415.             *Order: JOB_SETUP.4
  1416.             *Cmd: "@PJL SET DUPLEX=ON<0A>@PJL SET BINDING=SHORTEDGE<0A>"
  1417.         }
  1418.     }
  1419. }
  1420.  
  1421. *%%% ======================
  1422. *%%% PAGE_SETUP.4
  1423. *%%% SetPageOrigin
  1424. *%%%     PageOrigin
  1425. *%%% SetPageScale
  1426. *Command: CmdStartPage
  1427. {
  1428.     *Order: PAGE_SETUP.4
  1429.     *Cmd: =real32_xy "<0000803f><0000803f>" =attr_ubyte =PageScale =SetPageScale
  1430. +         =ubyte "<01>" =attr_ubyte =ColorSpace =SetColorSpace
  1431. }
  1432.  
  1433. *%%% ======================
  1434. *%%% PAGE_SETUP.5
  1435. *%%% Feature
  1436. *%%% Dither
  1437. *Feature: Dither
  1438. {
  1439.     *rcNameID: =DITHER_QUALITY_DISPLAY
  1440.     *DefaultOption: HIQUALITY
  1441.     *Option: HIQUALITY
  1442.     {
  1443.         *rcNameID: =DITHER_QUALITY_HIGH_DISPLAY
  1444.         *Command: CmdSelect
  1445.         {
  1446.             *Order: PAGE_SETUP.5
  1447.             *Cmd: ""
  1448.         }
  1449.     }
  1450.     *Option: LOQUALITY
  1451.     {
  1452.         *rcNameID: =DITHER_QUALITY_LOW_DISPLAY
  1453.         *Command: CmdSelect
  1454.         {
  1455.             *Order: PAGE_SETUP.5
  1456.             *Cmd: ""
  1457.         }
  1458.     }
  1459. }
  1460.  
  1461.  
  1462. *%%% ======================
  1463. *%%% Feature
  1464. *%%% Memory
  1465. *Feature: Memory
  1466. {
  1467.     *rcNameID: =PRINTER_MEMORY_DISPLAY
  1468.     *DefaultOption: 12MB
  1469. *% 4MB Standard memory, 3 memory slots with 4, 8, 16 or 32 MB dimms avail.
  1470. *% Max memory 96 (+4 on board) = 100
  1471.         *MemConfigMB: PAIR(4, 3)
  1472.         *MemConfigMB: PAIR(8, 7)
  1473.         *MemConfigMB: PAIR(12, 10)
  1474.         *MemConfigMB: PAIR(16, 13)
  1475.         *MemConfigMB: PAIR(20, 17)
  1476.         *MemConfigMB: PAIR(24, 21)
  1477.         *MemConfigMB: PAIR(28, 24)
  1478.         *MemConfigMB: PAIR(32, 28)
  1479.         *MemConfigMB: PAIR(36, 31)
  1480.         *MemConfigMB: PAIR(40, 35)
  1481.         *MemConfigMB: PAIR(44, 39)
  1482.         *MemConfigMB: PAIR(48, 42)
  1483.         *MemConfigMB: PAIR(52, 46)
  1484.         *MemConfigMB: PAIR(56, 49)
  1485.         *MemConfigMB: PAIR(60, 52)
  1486.         *MemConfigMB: PAIR(68, 59)
  1487. }
  1488.  
  1489. *%%% ======================
  1490. *%%% Device fonts
  1491. *%%% ======================
  1492.  
  1493. *DefaultFont: =RC_FONT_COURIERR
  1494. *DefaultCTT: 0
  1495.  
  1496. *DeviceFonts: LIST(
  1497. +    =RC_FONT_ALBERTX,
  1498. +    =RC_FONT_AOLIVEB,
  1499. +    =RC_FONT_AOLIVER,
  1500. +    =RC_FONT_ARIALB,
  1501. +    =RC_FONT_ARIALI,
  1502. +    =RC_FONT_ARIALJ,
  1503. +    =RC_FONT_ARIALR,
  1504. +    =RC_FONT_COURIERB,
  1505. +    =RC_FONT_COURIERI,
  1506. +    =RC_FONT_COURIERJ,
  1507. +    =RC_FONT_COURIERR,
  1508. +    =RC_FONT_LETGOTHB,
  1509. +    =RC_FONT_LETGOTHI,
  1510. +    =RC_FONT_LETGOTHR,
  1511. +    =RC_FONT_MARGOLDR,
  1512. +    =RC_FONT_TIMESNRB,
  1513. +    =RC_FONT_TIMESNRI,
  1514. +    =RC_FONT_TIMESNRJ,
  1515. +    =RC_FONT_TIMESNRR,
  1516. +    =RC_FONT_WINGDINGS,
  1517. +    =RC_FONT_SYMBOL)
  1518.  
  1519. *TTFS: AlbertusX
  1520. {
  1521.   *TTFontName: "Albertus Extra Bold"
  1522.   *DevFontName: "Albertus Extra Bold"
  1523. }
  1524. *TTFS: AntiqueOlive
  1525. {
  1526.   *TTFontName: "Antique Olive"
  1527.   *DevFontName: "Antique Olive"
  1528. }
  1529. *TTFS: LetterGothic
  1530. {
  1531.   *TTFontName: "Letter Gothic"
  1532.   *DevFontName: "Letter Gothic"
  1533. }
  1534. *TTFS: Marigold
  1535. {
  1536.   *TTFontName: "Marigold"
  1537.   *DevFontName: "Marigold"
  1538. }
  1539.  
  1540.  
  1541. *%% =======================
  1542. *%% Optional Duplex Unit
  1543. *%% =======================
  1544. *Feature: DuplexUnit
  1545. {
  1546.     *FeatureType: PRINTER_PROPERTY
  1547.     *rcNameID: =DUPLEX_UNIT_DISPLAY
  1548.     *DefaultOption: Installed
  1549.     *Option: NotInstalled
  1550.     {
  1551.         *rcNameID: =NOT_INSTALLED_DISPLAY
  1552.         *DisabledFeatures: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  1553.         *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  1554.     }
  1555.  
  1556.     *Option: Installed
  1557.     {
  1558.         *rcNameID: =INSTALLED_DISPLAY
  1559.     }
  1560. }
  1561.  
  1562. *Feature: TRAY3
  1563. {
  1564.     *rcNameID: =TRAY3_DISPLAY
  1565.     *FeatureType: PRINTER_PROPERTY
  1566.     *DefaultOption: FALSE
  1567.     *Option: FALSE
  1568.     {
  1569.         *rcNameID: =NOT_INSTALLED_DISPLAY       
  1570.         *Constraints: LIST(InputBin.LOWER)
  1571.  
  1572.     }
  1573.     *Option: TRUE
  1574.     {
  1575.         *rcNameID: =INSTALLED_DISPLAY
  1576.     }
  1577. }
  1578.  
  1579. *InvalidCombination: LIST(TRAY3.FALSE,InputBin.Option4)
  1580.  
  1581.  
  1582. *%% =======================
  1583. *%% Optional Hard Disk
  1584. *%% =======================
  1585. *Feature: PrinterHardDisk
  1586. {
  1587.     *rcNameID: =PRINTER_HARDDISK_DISPLAY
  1588.     *FeatureType: PRINTER_PROPERTY
  1589.     *DefaultOption: FALSE
  1590.     *Option: FALSE
  1591.     {
  1592.         *rcNameID: =NOT_INSTALLED_DISPLAY
  1593.         *DisabledFeatures: LIST(Collate)
  1594.     }
  1595.     *Option: TRUE
  1596.     {
  1597.         *rcNameID: =INSTALLED_DISPLAY
  1598.     }
  1599. }
  1600.  
  1601.  
  1602. *%%% ======================
  1603. *%%% PCL XL GPD file main
  1604. *%%% ======================
  1605.  
  1606. *%%% ======================
  1607. *%%% Global Entries
  1608. *%%% Attributes
  1609. *%%% ======================
  1610. *MasterUnits: PAIR(1200, 1200)
  1611. *CodePage: 1252
  1612. *ResourceDLL: "pclxl.dll"
  1613. *PrinterType: PAGE
  1614. *Personality: =PERSONALITY_PCLXL
  1615. *rcPersonalityID: =PERSONALITY_PCLXL_DISPLAY
  1616. *%%% *rcPrinterIconID:
  1617.  
  1618. *%%% ======================
  1619. *%%% Printing attributes
  1620. *%%% ======================
  1621. *RotateCoordinate?: TRUE
  1622. *RotateRaster?: TRUE
  1623. *RotateFont?: TRUE
  1624. *EjectPageWithFF?: FALSE
  1625.  
  1626. *TextCaps: LIST(TC_CR_ANY,TC_CR_90,TC_SF_X_YINDEP,TC_SA_CONTIN,TC_IA_ABLE,TC_UA_ABLE)
  1627. *MemoryUsage: LIST(FONT)
  1628. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  1629. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  1630. *CursorYAfterSendBlockData: AUTO_INCREMENT
  1631. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  1632. *XMoveThreshold: 0
  1633. *YMoveThreshold: 0
  1634. *XMoveUnit: 1200
  1635. *YMoveUnit: 1200
  1636.  
  1637. *%%% *MinGrayFill: 1
  1638. *%%% *MaxGrayFill: 100
  1639.  
  1640. *%%% *OutputDataFormat: H_BYTE
  1641. *%%% *OptimizeLeftBound?: TRUE
  1642.  
  1643. *%%% ======================
  1644. *%%% Color
  1645. *%%% ======================
  1646. *Feature: ColorMode
  1647. {
  1648.     *ConcealFromUI?: TRUE
  1649.     *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  1650.     *DefaultOption: Mono
  1651.     *Option: Mono
  1652.     {
  1653.         *rcNameID: =COLOR_DISPLAY
  1654.         *Color?: FALSE
  1655.         *DevNumOfPlanes: 1
  1656.         *DevBPP: 24
  1657.         *DrvBPP: 24
  1658.         *PaletteSize: 256
  1659.         *PaletteProgrammable?: FALSE
  1660.     }
  1661. }
  1662.  
  1663. *%%% ======================
  1664. *%%% TrueType fonts
  1665. *%%% ======================
  1666.  
  1667. *CharPosition: BASELINE
  1668. *TTFSEnabled?: TRUE
  1669. *FontFormat: OEM_CALLBACK
  1670. *MinFontID: 1
  1671. *MaxFontID: 65535
  1672. *MinGlyphID: 1
  1673. *MaxGlyphID: 1000
  1674.  
  1675. *%%% ======================
  1676. *%%% Cursor commands
  1677. *%%% ======================
  1678.  
  1679. *Command: CmdCR { *Cmd: =CR}
  1680. *Command: CmdLF { *Cmd: =LF}
  1681. *Command: CmdFF { *Cmd: =FF}
  1682.  
  1683. *%%% SetCursor(0x6b)
  1684. *%%%     Point(76(0x40c)) uint_16
  1685. *%%% SetCursorRel(0x6c)
  1686. *%%%     Point(76(0x40c)) uint_16
  1687. *Command: CmdXMoveAbsolute
  1688. {
  1689.     *Cmd: ""
  1690. }
  1691. *Command: CmdXMoveRelRight
  1692. {
  1693.     *Cmd: ""
  1694.     *Params: LIST(DestXRel, TextXRes)
  1695. }
  1696. *Command: CmdXMoveRelLeft
  1697. {
  1698.     *Cmd: ""
  1699.     *Params: LIST(DestXRel, TextXRes)
  1700. }
  1701. *Command: CmdYMoveAbsolute
  1702. {
  1703.     *Cmd: ""
  1704.     *Params: LIST(DestY, TextYRes)
  1705. }
  1706. *Command: CmdYMoveRelDown
  1707. {
  1708.     *Cmd: ""
  1709.     *Params: LIST(DestYRel, TextYRes)
  1710. }
  1711. *Command: CmdYMoveRelUp
  1712. {
  1713.     *Cmd: ""
  1714.     *Params: LIST(DestYRel, TextYRes)
  1715. }
  1716. *%%% *Command: CmdPushCursor
  1717. *%%% *Command: CmdPopCursor
  1718.  
  1719. *%%% =======================
  1720. *%%% Font commands
  1721. *%%% =======================
  1722.  
  1723. *Command: CmdSetFontID { *Cmd : "" }
  1724. *Command: CmdSelectFontID
  1725. {
  1726.     *Cmd: ""
  1727.     *Params: LIST(FontHeight, CurrentFontID, TextYRes)
  1728. }
  1729.  
  1730. *Command: CmdSetCharCode
  1731. {
  1732.     *Cmd : ""
  1733. }
  1734.  
  1735. *Command: CmdBoldOn
  1736. {
  1737.     *Cmd : ""
  1738. }
  1739. *Command: CmdBoldOff
  1740. {
  1741.     *Cmd : ""
  1742. }
  1743. *%%% *Command: CmdItalicOn: "=real32_xy "<3ea1e4f700000000>" =attr_ubyte =eCharShear =SetCharShear"
  1744. *%%% *Command: CmdItalicOff: "=real32_xy "<0000000000000000>" =attr_ubyte =eCharShear =SetCharShear"
  1745. *%%% *Command: CmdWhiteTextOn:
  1746. *%%% *Command: CmdWhiteTextOff:
  1747. *%%% *Command: CmdSelectSingleByteMode:
  1748. *%%% *Command: CmdSelectDoubleByteMode:
  1749. *Command: CmdSetAnyRotation
  1750. {
  1751.     *Cmd: ""
  1752.     *Params: LIST(PrintDirInCCDegrees)
  1753. }
  1754. *Command: CmdSetSimpleRotation
  1755. {
  1756.     *Cmd: ""
  1757.     *Params: LIST(PrintDirInCCDegrees)
  1758. }
  1759.